how to use the javafx menubar